|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Traverser
The interface which represents the traverser which is used to step through
the results of a traversal. Each step can be represented in different ways.
The default is as Path objects which all over representations can be
derived from, i.e Node or Relationship. Or each step can be
represented in one of those representations directly.
| Method Summary | |
|---|---|
Iterator<Path> |
iterator()
Represents the traversal in the form of Paths. |
Iterable<Node> |
nodes()
Represents the traversal in the form of Nodes. |
Iterable<Relationship> |
relationships()
Represents the traversal in the form of Relationships. |
| Method Detail |
|---|
Iterable<Node> nodes()
Nodes. This is a
convenient way of iterating over Paths and getting the
Path.endNode() for each position.
Node objects.Iterable<Relationship> relationships()
Relationships. This is a
convenient way of iterating over Paths and getting the
Path.lastRelationship() for each position.
Relationship objects.Iterator<Path> iterator()
Paths.
iterator in interface Iterable<Path>Path objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||